<%@page contentType="text/xml"%><%-- TODO change to KML type --%><%@page pageEncoding="UTF-8"%><?xml version="1.0" encoding="UTF-8"?>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/WEB-INF/taglib/wms2kml" prefix="wms2kml"%>
<%--
Displays KML representing a single displayable layer
Data passed in:
    capabilities: WMSCapabilities object
    layer: Layer object to display
--%>
<%-- Abstract out the KML header --%>
<kml xmlns="http://earth.google.com/kml/2.2"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://earth.google.com/kml/2.2 http://code.google.com/apis/kml/schema/kml22beta.xsd">
    <wms2kml:groundOverlay capabilities="${capabilities}" layer="${layer}"/>
</kml>